package com.second.model.dto.order;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class ForderDto implements Serializable {

    private Integer id;
    private Integer goodsId;
    private Integer shopId;
    private String goodsname;
    private String ordCode;
    private Double ordPrice;
    private Integer ordNum;
    private Integer ordState;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ordCreateDate;
    private Integer userId;
    private String goodspic;
    private Integer ordComState;

}
